package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "购物车类", description = "$!{table.comment}")
@TableName("Car")
public class Car {
    @Schema(description = "id")
    private int id;
    @Schema(description = "订单名称")
    private String carName;
    @Schema(description = "总价")
    private Double totalPrice;
}
